using System;
using System.Collections.Generic;
using System.Text;

namespace XnaDevRu.ContentBuilder.Framework
{
	/// <summary>
	/// Represents errors that occur in XNA Content Builder.
	/// </summary>
    public class ContentBuilderException : Exception
    {
		/// <summary>
		/// Initializes a new instance of the ContentBuilderException class.
		/// </summary>
        public ContentBuilderException()
            : base()
        {
        }

		/// <summary>
		/// Initializes a new instance of the ContentBuilderException with message.
		/// </summary>
		/// <param name="message">The message that describes error.</param>
        public ContentBuilderException(string message)
            : base(message)
        {
        }

		/// <summary>
		/// Initializes a new instance of the ContentBuilderException with message and inner exception.
		/// </summary>
		/// <param name="message">The message that describes error.</param>
		/// <param name="innerException">The exception that is the cause of the current exception.</param>
        public ContentBuilderException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}
